package com.ybkj.chat.module.dynamic.adapter;

import android.content.Context;

import com.ybkj.chat.R;
import com.ybkj.chat.ui.adapter.base.XBaseAdapter;
import com.ybkj.chat.ui.adapter.base.XBaseViewHolder;

/**
 * @Author wyq
 * @Description：空间动态adapter
 * @Date 2019/2/13
 */
public class DynamicAdapter extends XBaseAdapter<String> {


    public DynamicAdapter(Context context) {
        super(context);
    }

    @Override
    protected int getLayoutResId(int viewType) {
        return R.layout.recycle_item_dynamic;
    }

    @Override
    protected void convert(XBaseViewHolder helper, String item) {
        helper.addOnClickListener(R.id.point_menu);
    }

}
